package com.niguang.labour.admin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE
 * </p>
 *
 * @author 
 * @since 2018-09-29
 */
@TableName("work_wechat_page_user")
public class WorkWechatPageUser extends Model<WorkWechatPageUser> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	@TableField("user_id")
	private Long userId;
	@TableField("user_name")
	private String userName;
	private String age;
	private String sex;
	@TableField("user_phone")
	private String userPhone;
	@TableField("user_id_card")
	private String userIdCard;
	@TableField("work_type_name")
	private String workTypeName;
	@TableField("team_id")
	private Long teamId;
	@TableField("bz_name")
	private String bzName;
	@TableField("site_name")
	private String siteName;
	@TableField("site_id")
	private Long siteId;
	@TableField("team_user_name")
	private String teamUserName;
	@TableField("team_user_phone")
	private String teamUserPhone;
	@TableField("join_time")
	private String joinTime;
	@TableField("push_uid")
	private String pushUid;
	@TableField("create_time")
	private Date createTime;
	@TableField("team_user_pic")
	private String teamUserPic;
	@TableField("user_pic")
	private String userPic;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserIdCard() {
		return userIdCard;
	}

	public void setUserIdCard(String userIdCard) {
		this.userIdCard = userIdCard;
	}

	public String getWorkTypeName() {
		return workTypeName;
	}

	public void setWorkTypeName(String workTypeName) {
		this.workTypeName = workTypeName;
	}

	public Long getTeamId() {
		return teamId;
	}

	public void setTeamId(Long teamId) {
		this.teamId = teamId;
	}

	public String getBzName() {
		return bzName;
	}

	public void setBzName(String bzName) {
		this.bzName = bzName;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	public Long getSiteId() {
		return siteId;
	}

	public void setSiteId(Long siteId) {
		this.siteId = siteId;
	}

	public String getTeamUserName() {
		return teamUserName;
	}

	public void setTeamUserName(String teamUserName) {
		this.teamUserName = teamUserName;
	}

	public String getTeamUserPhone() {
		return teamUserPhone;
	}

	public void setTeamUserPhone(String teamUserPhone) {
		this.teamUserPhone = teamUserPhone;
	}

	public String getJoinTime() {
		return joinTime;
	}

	public void setJoinTime(String joinTime) {
		this.joinTime = joinTime;
	}

	public String getPushUid() {
		return pushUid;
	}

	public void setPushUid(String pushUid) {
		this.pushUid = pushUid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getTeamUserPic() {
		return teamUserPic;
	}

	public void setTeamUserPic(String teamUserPic) {
		this.teamUserPic = teamUserPic;
	}

	public String getUserPic() {
		return userPic;
	}

	public void setUserPic(String userPic) {
		this.userPic = userPic;
	}

	public static final String ID = "id";

	public static final String USER_ID = "user_id";

	public static final String USER_NAME = "user_name";

	public static final String AGE = "age";

	public static final String SEX = "sex";

	public static final String USER_PHONE = "user_phone";

	public static final String USER_ID_CARD = "user_id_card";

	public static final String WORK_TYPE_NAME = "work_type_name";

	public static final String TEAM_ID = "team_id";

	public static final String BZ_NAME = "bz_name";

	public static final String SITE_NAME = "site_name";

	public static final String SITE_ID = "site_id";

	public static final String TEAM_USER_NAME = "team_user_name";

	public static final String TEAM_USER_PHONE = "team_user_phone";

	public static final String JOIN_TIME = "join_time";

	public static final String PUSH_UID = "push_uid";

	public static final String CREATE_TIME = "create_time";

	public static final String TEAM_USER_PIC = "team_user_pic";

	public static final String USER_PIC = "user_pic";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WorkWechatPageUser{" +
			"id=" + id +
			", userId=" + userId +
			", userName=" + userName +
			", age=" + age +
			", sex=" + sex +
			", userPhone=" + userPhone +
			", userIdCard=" + userIdCard +
			", workTypeName=" + workTypeName +
			", teamId=" + teamId +
			", bzName=" + bzName +
			", siteName=" + siteName +
			", siteId=" + siteId +
			", teamUserName=" + teamUserName +
			", teamUserPhone=" + teamUserPhone +
			", joinTime=" + joinTime +
			", pushUid=" + pushUid +
			", createTime=" + createTime +
			", teamUserPic=" + teamUserPic +
			", userPic=" + userPic +
			"}";
	}
}
